package javaEE65_day03.StudentTeacherManger.controller.StudentController;

import javaEE65_day03.StudentTeacherManger.domian.Student;
import javaEE65_day03.StudentTeacherManger.service.StudentService;

import java.util.Scanner;

public class OtherStudentController extends publicController{
    //创建键盘录入对象
    private Scanner sc = new Scanner(System.in);
    //接收用户输入的信息
    private Student inputInformation(String id) {
        //录入学生信息
        System.out.println("请输入学生姓名:");
        String name = sc.next();
        System.out.println("请输入学生年龄:");
        String age = sc.next();
        System.out.println("请输入学生生日:");
        String birthday = sc.next();
        //创建Student类对象,将Student类实例化
        Student stu = new Student("name","age","birthday","id");
        return stu;
    }

}



